package route

import (
	"github.com/gin-gonic/gin"
	"server/app/api/handel/common"
	"server/app/api/middleware"
)

type WebsocketRoute struct{}

func (WebsocketRoute) InitRoute(r *gin.RouterGroup) {

	user := r.Group("websocket", middleware.UserMiddleWare())
	{
		user.GET("conn", common.Websocket.Connect)
	}
}
